package com.li;

import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.Callable;

/**
 * @author lirenchun
 */
public class Task  implements Callable<List<String>> {
    private Integer num;

    public Task(Integer num) {
        this.num = num;
    }

    @Override
    public List<String> call() throws Exception {
       List<String> stringList=new ArrayList<>();
       stringList.add("你好，李鑫!"+num);
       stringList.add("那只能说随便啦!"+num);
       return stringList;
    }
}
